#!user/bin/env python3
# -- coding: utf-8 --
# @Createtime：2023/11/19
# @Updatetime：14:30
# @Author：Test008
# @File：sele_login.py
# @Description：
"""定位元素数据"""
from selenium.webdriver.common.by import By


class Elements:
    # 登录页面
    login_username = By.XPATH, "//*[@id='app']/div/div[2]/div[2]/div/form/div[1]/div/div[1]/input"  # 账号
    login_password = By.XPATH, "//*[@id='app']/div/div[2]/div[2]/div/form/div[2]/div/div/input"  # 密码
    login_btn = By.CSS_SELECTOR, ".el-button.login-submit.el-button--primary.el-button--small"  # 登录按钮
    login_error_text = By.CSS_SELECTOR, ".el-form-item__error"